tests: Ensure mutable deployments from libostreetest
authorDan Nicholson <nicholson@endlessm.com>
Fri, 13 May 2016 17:22:02 +0000 (10:22 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 27 Jun 2016 20:20:21 +0000 (20:20 +0000)
commit8b397301c4ed87caafac86c3aaee47ccb644849f
treede4c01e4c135173a8aff5cd5dd08d89b5925475e
parentb53fb92a9d200b51d3663ff8798a483dc670402a
tests: Ensure mutable deployments from libostreetest

When creating sysroots with libostreetest, we don't get the benefit of
the OSTREE_SYSROOT_DEBUG setting in libtest.sh. That means we'll get
immutable deployments that can't be easily cleaned up.

Ensure the environment variable is set before creating new sysroots. It
would be nice to set the debug flags directly, but that's private API
that isn't currently pulled into libostreetest.

Closes: #372
Approved by: cgwalters
tests/libostreetest.c